<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../lib/angular.min.js"></script>
</head>
<body>
<div ng-app="hd" ng-controller="ctrl">

    <p>{{name}}</p>

    <input type="text" ng-model="name">

</div>


<script>
    var m = angular.module('hd', []);
    m.controller('ctrl',['$scope',function(scope){
        scope.name = '测试一下';
    }]);
</script>
</body>
</html>